import {WeaTools} from 'ecCom'

export const getDoorTaskList = params => {   //执行力任务门户元素列表展示/
    return WeaTools.callApi('/api/workrelate/task/doorpage/getTaskList', 'GET', params);
}
export const toChangeStatus = params => {   //修改任务状态
    return WeaTools.callApi('/api/workrelate/task/changeStatus', 'GET', params);
}
export const setSpecial = params => {   //添加或取消关注
    return WeaTools.callApi('/api/workrelate/task/setSpecial', 'GET', params);
}
export const fastAddTask = params => {   //快速新增任务
    return WeaTools.callApi('/api/workrelate/task/addTask', 'POST', params);
}